<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/8/17
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>请注册您的第一个web电话本</title>
</head>
<body>
<h1>欢迎注册</h1>
<form action="${pageContext.request.contextPath}/admin/regPost.do" method="post">
    <p>
        用户:<input type="text" name="name" value="${param.name}" placeholder="请输入用户名"/>
    </p>
    <p>
        密码:<input type="password" name="pwd1" value="${param.pwd1}" placeholder="请输入密码"/>
    </p>
    <p>
        验证密码:<input type="password" name="pwd2" value="${param.pwd2}" placeholder="请输入密码"/>
    </p>
    <p>
        <input type="submit" value="注册">
        <input type="reset" value="重置">
    </p>
    <p><a href="${pageContext.request.contextPath}/admin/login.do">用户登陆</a></p>
    <p>
        ${msg}
    </p>
</form>
</body>
</html>
